package com.sinven.mapper;

import com.sinven.pojo.Environment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EnviromentMapper {
    List<Environment> queryAll(@Param("startIndex")long startIndex,
                                    @Param("pageSize")int pageSize);
    long countEnviroment();

    Environment queryEnvById(long eid);

    int addEnv(Environment env);

    int updateEnv(Environment env);

    int deleteEnv(long eid);
}
